<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>栏目菜单列表｜系统管理</title>
<body class="withvernav">
    <div class="bodywrapper">
        {{include file='/public/leftmenu.tpl'}}
        <div class="centercontent tables">

            <div class="pageheader notab">
                <h1 class="pagetitle">栏目菜单列表</h1>
                <span class="pagedesc"></span>
                <div class="menulist">
                    <ul class="profile_summary">
                        <li><a href="/management/ajaxbutton?op=addsys_menu" class=""><span>增加菜单</span></a></li>
                    </ul>
                </div>
            </div><!--pageheader-->

            <div id="contentwrapper" class="contentwrapper">
                <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
                <!--搜索栏-->
                <form class="stdform stdform2" method="post" action="/management/ajaxbutton">
                    <div class="tableoptions"> <button type="button" class="submit radius2" onClick="oncechelink()"  />生成菜单缓存文件(修改后需重新生成)</button>
					<input type="hidden" id="id" name="id" value="0">
                    </div>
                </form>
                <!--搜索栏结束-->
                <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
                    <colgroup>
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                    </colgroup>

                    <thead>
                        <tr>
                            <th class="head0">NO</th>
                            <th class="head0">名称</th>
                            <th class="head0">链向地址</th>
                            <th class="head0">是否显示</th>
                          <th class="head0">显示顺序</th>
                          <th class="head0">操作</th>
                        </tr>
                    </thead>

                    <tbody>
                        {{foreach from=$list item=li key=key}}
                        <tr>
                            <td>{{$li.id}}</td>
                            <td>{{$li.value_txt}}</td>
                            <td>{{$li.value_fied}}</td>
                            <td class="center">
                                {{if $li.isshow == 1}}
                                	<strong>否</strong>
                                {{else}}
                                	是
                                {{/if}}                          </td>
                            <td>{{$li.sort}}</td>
                      <td class="center">
                                <a href="/management/ajaxbutton?op=addmenu&id={{$li.id}}">编辑</a>                            </td>
                        </tr>
                        {{/foreach}}

                    </tbody>
                </table>
              <div class="page">{{$pageList}}</div>
                <br /><br />

            </div>

        </div><!--bodywrapper-->

</body>
</html>
